<?php
namespace Popshouse\SiteBundle\Entity;

use Popshouse\SiteBundle\Entity\Image;

/**
 * @orm:Entity
 * @orm:HasLifecycleCallbacks
 */
class News extends Image{
	
	/**
	 * @orm:PostLoad
	 */
	public function __construct(){ 
		$this->addKeys(array('text'));
		
	}
	
		/**
	 * @return the $strings[nl]
	 */
	public function getNlText() {
		return $this->strings['nl']['text'];
	}

	/**
	 * @param field_type $nl
	 */
	public function setNlText($nl) {
		$this->strings['nl']['text'] = $nl;
	}
	
	/**
	 * @return the $strings[en]
	 */
	public function getEnText() {
		return $this->strings['en']['text'];
	}

	/**
	 * @param field_type $nl
	 */
	public function setEnText($en) {
		$this->strings['en']['text'] = $en;
	}
/**
	 * @return the $strings[fr]
	 */
	public function getFrText() {
		return $this->strings['fr']['text'];
	}

	/**
	 * @param field_type $fr
	 */
	public function setFrText($fr) {
		$this->strings['fr']['text'] = $fr;
	}
/**
	 * @return the $strings[de]
	 */
	public function getDeText() {
		return $this->strings['de']['text'];
	}

	/**
	 * @param field_type $de
	 */
	public function setDeText($de) {
		$this->strings['de']['text'] = $de;
	}
	
	
	protected function getImageDir(){
		return "news";
	}
}